#include "include/shop/shop.h"
#include <string>

int main()
{
    std::string logdata =  "/Users/shizhengze/home/CMakeWorkspace/git/online-supermarket-system/database/logdata.txt";
    std::string userdata = "/Users/shizhengze/home/CMakeWorkspace/git/online-supermarket-system/database/userdata.txt";
    std::string itemdata = "/Users/shizhengze/home/CMakeWorkspace/git/online-supermarket-system/database/itemdata.txt";
    shop store;
    store.loaddatabase(userdata, itemdata, logdata);
    store.mainpage();
    return 0;
}